Natalie Elphick
Bioinformatician I
Yihang Xin (Online TA)
Software Engineer III
What is your level of experience with coding/data analysis?
.R
.RmdR code with Markdown for text
formatting.Rmd file in RStudio to
explore the basics of how they work:[1] 1
[1] 9
Error: object 'a' not found
Error: unexpected ")"
Error: object "a" not found
See this article for more common errors and how to fix them.
Warning in a + b: longer object length is not a multiple of shorter object
length
Which variable name is not valid in R?
Which of these is not the correct data type for the value?
10:00
What is the output of the following code?
What is the output of the following code?
dog_breeds <- c("Labrador Retriever", "Akita", "Bulldog")
if ("Akita" %in% dog_breeds) {
print("dog_breeds already contains Akita")
} else {
dog_breeds <- c("Akita", dog_breeds)
}[1] "dog_breeds already contains Akita"
Already contains this dog
[1] "German Shepard" "Labrador Retriever" "Akita"
[4] "Bulldog"
What does this function do?
Single Cell ATAC-Seq Data Analysis Part 2